using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
using System.Collections.ObjectModel;

namespace ESBSimpleSamples.ServiceClient.Generator.WSDL
{
    /// <summary>
    /// Represents a parameter to a SOAP method
    /// </summary>
    public class WSDLParameter
    {
        private ParameterInfo _parameterInfo;

        public ParameterInfo ParameterInfo
        {
            get { return _parameterInfo; }
            set { _parameterInfo = value; }
        }

        public WSDLParameter() { }

        public WSDLParameter(ParameterInfo parameterInfo)
        {
            this._parameterInfo = parameterInfo;
        }

        public override string ToString()
        {
            return this._parameterInfo.Name;
        }
    }

    public class WSDLParameterCollection : Collection<WSDLParameter>
    {
    }
}
